
<table border="1" width="100%" style="border-collapse: collapse" cellspacing="1" cellpadding="2" bordercolor="#C6C6C6">
	<tr>
		<td bgcolor="#E4E4E4" align="center" width="150">项目</td>
		<td bgcolor="#E4E4E4" align="center">内容</td>
	</tr>
	<tr>
		<td align="center">标题</td>
		<td align="left"><input type="text" name="subject" size="40" value="{info[subject]}"></td>
	</tr>
	<tr>
		<td align="center">分类</td>
		<td align="left">
			<select size="1" name="cate_id">
			<!-- while:$cl = $db->fetch_array($cate_list) -->
			{run: $ck=($cl[id]==$info[cate_id] || $_SESSION['my_photo_post_cid']==$cl[id])?'selected':'';}
			<option value="{cl[id]}" {ck}>{cl[title]}</option>
			<!-- END -->
			</select>
		</td>
	</tr>
	
	<!-- IF($id>0) -->
	<tr>
		<td align="center">日期</td>
		<td align="left">{run:=date('Y-m-d H:i',$info[dates]);}</td>
	</tr>
	<!-- END -->
	<tr>
		<td align="center">内容</td>
		<td align="left"><textarea rows="8" name="content" cols="80">{info[content]}</textarea><br>
		显示内容支持HTML代码
		</td>
	</tr>
	<tr>
		<td align="center">照片</td>
		<td align="left"><input type="file" name="upfile" size="20">
		<!-- IF($info[attach]) -->
		<br>
		<img onclick="window.open('{att_dir}/{info[attach]}')" width="400" src="{att_dir}/{info[attach]}" onclick="window.open('{att_dir}/{info[attach]}');" border=0>
		<br>
	    <input style="background:url(images/cancel.gif) no-repeat ; border:0; padding-left: 15px;" value="删除" onclick="javascript:if(confirm('您确定要继续当前操作吗?'))location='{sys_page}?model={model}&action={action}&todo=delphoto&id={id}';return false;" type="button">
		<!-- END -->
		</td>
	</tr>
</table>